from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能

class 主动技能(主动技能):
    cost =0


class 技能0(被动技能):
    名称 = '基础精通'
    倍率 = 1.0

    所在等级 = 1
    等级上限 = 200
    学习间隔 = 1
    等级精通 = 110

    是否主动 = 0

    关联技能 = ['妖气连击']

    TP成长 = 0.10
    TP上限 = 5  # 基础精通

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(self.倍率 * (0.463 + 0.089 * self.等级), 5)

class 技能1(主动技能):
    名称 = '爪痕'
    所在等级 = 1
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 3
    MP = [7, 54]
    无色消耗 = 0
    data0 = [0, 1355, 1492, 1629, 1767, 1905, 2042, 2180, 2317, 2454, 2592, 2730, 2867, 3005, 3142, 3279, 3417, 3554, 3692, 3830, 3966, 4104, 4242, 4379, 4517, 4654, 4791, 4929, 5067, 5204, 5342, 5479, 5616, 5754, 5892, 6029, 6167, 6304, 6441, 6579, 6716, 6854, 6992, 7128, 7266, 7404, 7541, 7679, 7816, 7953, 8091, 8229, 8366, 8504, 8641, 8778, 8916, 9054, 9191, 9329, 9466, 9603, 9741, 9878, 10016, 10154, 10290, 10428, 10566, 10703, 10841]
    hit0 = 5
    TP成长 = 0.1
    TP上限 = 7
    cost = -3

class 技能2(主动技能):
    名称 = '暗影切割'
    所在等级 = 5
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 3
    MP = [5, 37]
    无色消耗 = 0
    data0 = [0, 611, 673, 735, 798, 859, 921, 983, 1045, 1108, 1169, 1231, 1294, 1355, 1418, 1480, 1541, 1604, 1665, 1728, 1790, 1851, 1914, 1976, 2037, 2100, 2162, 2224, 2286, 2347, 2410, 2472, 2534, 2596, 2658, 2720, 2782, 2845, 2906, 2968, 3031, 3092, 3155, 3216, 3278, 3341, 3402, 3465, 3527, 3588, 3651, 3713, 3775, 3837, 3898, 3961, 4023, 4085, 4147, 4209, 4271, 4333, 4395, 4457, 4519, 4582, 4643, 4705, 4767, 4829, 4892]
    hit0 = 3
    TP成长 = 0.1
    TP上限 = 7
    cost = 5

class 技能3(主动技能):
    名称 = '猎人的问候'
    所在等级 = 10
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5
    MP = [19, 19]
    无色消耗 = 0
    data0 = [0, 912, 1005, 1098, 1190, 1283, 1376, 1468, 1561, 1654, 1747, 1840, 1932, 2025, 2117, 2210, 2303, 2395, 2488, 2581, 2673, 2766, 2858, 2951, 3044, 3136, 3229, 3322, 3414, 3507, 3599, 3692, 3785, 3877, 3970, 4062, 4155, 4248, 4340, 4433, 4526, 4618, 4711, 4803, 4896, 4989, 5082, 5175, 5267, 5360, 5453, 5545, 5638, 5731, 5823, 5916, 6008, 6101, 6194, 6286, 6379, 6472, 6564, 6657, 6749, 6842, 6935, 7027, 7120, 7212, 7305]
    hit0 = 3
    TP成长 = 0.1
    TP上限 = 7
    cost = -4

class 技能4(主动技能):
    名称 = '妖气连击'
    所在等级 = 15
    等级上限 = 1
    等级精通 = 1
    CD = 2
    MP = [14, 14]
    无色消耗 = 0
    data0 = [0, 408]
    hit0 = 0
    data1 = [0, 255]
    hit1 = 1
    data2 = [0, 255]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 1
    cost = -4

    形态 = ['妖','人']

    def TP等级加成(self, x, char={}):
        if self.TP等级 != 0:
            self.TP等级 = min(self.TP等级+x, 1)

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '妖':
            self.hit0 = 0
            self.hit1 = 1
            self.hit2 = 1
        if 形态 == '人':
            self.hit0 = 1
            self.hit1 = 0
            self.hit2 = 0
        pass

class 技能5(被动技能):
    名称 = '特异体质'
    所在等级 = 20
    等级上限 = 20
    等级精通 = 10
    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.02 + 0.02 * self.等级

class 技能6(主动技能):
    名称 = '同族猎人'
    所在等级 = 20
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 7
    MP = [63, 457]
    无色消耗 = 0
    data0 = [0, 1995, 2197, 2399, 2602, 2804, 3007, 3209, 3411, 3614, 3816, 4019, 4221, 4423, 4626, 4828, 5030, 5233, 5435, 5638, 5840, 6042, 6245, 6447, 6650, 6852, 7054, 7257, 7460, 7661, 7864, 8066, 8269, 8471, 8673, 8876, 9079, 9280, 9483, 9685, 9888, 10091, 10292, 10495, 10698, 10900, 11102, 11304, 11507, 11710, 11911, 12114, 12317, 12519, 12721, 12923, 13126, 13329, 13531, 13733, 13936, 14138, 14341, 14542, 14745, 14948, 15150, 15352, 15555, 15757, 15960]
    hit0 = 1
    data1 = [0, 2992, 3296, 3599, 3903, 4206, 4510, 4814, 5117, 5421, 5724, 6028, 6331, 6635, 6939, 7242, 7546, 7849, 8153, 8456, 8761, 9064, 9367, 9671, 9974, 10278, 10582, 10886, 11189, 11492, 11796, 12099, 12403, 12707, 13011, 13314, 13618, 13921, 14224, 14528, 14832, 15136, 15439, 15743, 16046, 16349, 16654, 16957, 17261, 17564, 17868, 18171, 18475, 18779, 19082, 19386, 19689, 19993, 20296, 20600, 20904, 21207, 21511, 21814, 22118, 22421, 22725, 23029, 23333, 23636, 23939]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 7
    cost = -5

class 技能7(主动技能):
    名称 = '痛苦使者'
    所在等级 = 20
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10
    MP = [89, 653]
    无色消耗 = 0
    data0 = [0, 7285, 8025, 8764, 9502, 10241, 10980, 11719, 12459, 13198, 13937, 14676, 15415, 16155, 16894, 17633, 18371, 19110, 19850, 20589, 21328, 22067, 22806, 23546, 24285, 25024, 25763, 26502, 27240, 27980, 28719, 29458, 30197, 30936, 31676, 32415, 33154, 33893, 34632, 35372, 36110, 36849, 37588, 38327, 39067, 39806, 40545, 41284, 42023, 42763, 43502, 44241, 44979, 45718, 46457, 47197, 47936, 48675, 49414, 50153, 50893, 51632, 52371, 53110, 53848, 54588, 55327, 56066, 56805, 57544, 58284]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7
    cost = 5

class 技能8(主动技能):
    名称 = '抓挠面部'
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 6
    MP = [51, 371]
    无色消耗 = 0
    data0 = [0, 1213, 1335, 1459, 1582, 1705, 1828, 1951, 2074, 2198, 2320, 2443, 2567, 2690, 2812, 2936, 3059, 3182, 3305, 3428, 3551, 3674, 3797, 3921, 4044, 4166, 4290, 4413, 4536, 4659, 4782, 4905, 5029, 5151, 5274, 5398, 5520, 5643, 5767, 5890, 6012, 6136, 6259, 6382, 6505, 6628, 6751, 6875, 6997, 7120, 7244, 7367, 7489, 7613, 7736, 7859, 7982, 8105, 8228, 8351, 8474, 8597, 8721, 8843, 8966, 9090, 9213, 9336, 9459, 9582, 9705]
    hit0 = 1
    data1 = [0, 1213, 1335, 1459, 1582, 1705, 1828, 1951, 2074, 2198, 2320, 2443, 2567, 2690, 2812, 2936, 3059, 3182, 3305, 3428, 3551, 3674, 3797, 3921, 4044, 4166, 4290, 4413, 4536, 4659, 4782, 4905, 5029, 5151, 5274, 5398, 5520, 5643, 5767, 5890, 6012, 6136, 6259, 6382, 6505, 6628, 6751, 6875, 6997, 7120, 7244, 7367, 7489, 7613, 7736, 7859, 7982, 8105, 8228, 8351, 8474, 8597, 8721, 8843, 8966, 9090, 9213, 9336, 9459, 9582, 9705]
    hit1 = 1
    data2 = [0, 2426, 2672, 2918, 3165, 3410, 3657, 3903, 4149, 4395, 4642, 4887, 5134, 5380, 5626, 5872, 6118, 6364, 6610, 6857, 7102, 7349, 7595, 7842, 8087, 8334, 8580, 8826, 9072, 9319, 9564, 9811, 10057, 10303, 10549, 10795, 11041, 11287, 11534, 11779, 12026, 12272, 12518, 12764, 13011, 13257, 13503, 13749, 13996, 14241, 14488, 14734, 14980, 15226, 15472, 15718, 15964, 16211, 16456, 16703, 16949, 17195, 17441, 17688, 17933, 18180, 18426, 18673, 18918, 19165, 19411]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 7
    cost = -5

class 技能9(主动技能):
    名称 = '颈部穿刺'
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 8
    MP = [42, 309]
    无色消耗 = 0
    data0 = [0, 2431, 2677, 2924, 3171, 3418, 3664, 3911, 4158, 4404, 4651, 4897, 5145, 5391, 5638, 5884, 6131, 6378, 6624, 6871, 7117, 7365, 7611, 7857, 8104, 8351, 8598, 8844, 9090, 9338, 9584, 9831, 10077, 10325, 10571, 10817, 11064, 11311, 11558, 11804, 12051, 12298, 12544, 12791, 13037, 13285, 13531, 13778, 14024, 14271, 14518, 14764, 15011, 15257, 15505, 15751, 15997, 16244, 16491, 16738, 16984, 17230, 17478, 17724, 17971, 18217, 18465, 18711, 18957, 19204, 19451]
    hit0 = 3
    出血data0 = [0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
    出血hit0 = 1
    TP成长 = 0.1
    TP上限 = 7
    cost = 10

class 技能10(主动技能):
    名称 = '确认击杀'
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 9
    MP = [86, 627]
    无色消耗 = 0
    data0 = [0, 1874, 2064, 2253, 2444, 2634, 2824, 3014, 3205, 3395, 3584, 3775, 3965, 4155, 4345, 4536, 4725, 4915, 5106, 5295, 5486, 5676, 5866, 6056, 6246, 6437, 6626, 6817, 7007, 7197, 7387, 7577, 7767, 7957, 8148, 8337, 8528, 8718, 8908, 9098, 9288, 9479, 9668, 9858, 10049, 10238, 10429, 10619, 10809, 10999, 11189, 11379, 11569, 11760, 11950, 12140, 12330, 12520, 12710, 12900, 13091, 13280, 13471, 13661, 13850, 14041, 14231, 14422, 14611, 14802, 14992]
    hit0 = 2
    data1 = [0, 3748, 4127, 4508, 4888, 5268, 5649, 6029, 6410, 6789, 7169, 7550, 7930, 8310, 8691, 9071, 9451, 9831, 10211, 10592, 10972, 11353, 11733, 12112, 12493, 12873, 13253, 13634, 14014, 14395, 14774, 15154, 15535, 15915, 16295, 16676, 17056, 17436, 17816, 18196, 18577, 18957, 19337, 19717, 20097, 20478, 20858, 21238, 21619, 21999, 22379, 22759, 23139, 23520, 23900, 24280, 24661, 25040, 25421, 25801, 26181, 26562, 26942, 27322, 27702, 28082, 28463, 28843, 29223, 29604, 29984]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 7
    cost = -10

class 技能11(主动技能):
    名称 = '亮出爪子'
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 7
    MP = [67, 487]
    无色消耗 = 0
    data0 = [0, 2054, 2264, 2472, 2680, 2889, 3097, 3306, 3514, 3723, 3931, 4139, 4349, 4557, 4765, 4974, 5182, 5391, 5600, 5808, 6016, 6224, 6434, 6642, 6850, 7059, 7267, 7476, 7685, 7893, 8101, 8310, 8519, 8727, 8935, 9144, 9352, 9561, 9770, 9978, 10186, 10395, 10604, 10812, 11021, 11229, 11437, 11646, 11855, 12063, 12271, 12480, 12689, 12897, 13106, 13314, 13522, 13731, 13940, 14148, 14356, 14565, 14774, 14982, 15191, 15399, 15607, 15817, 16025, 16233, 16441]
    hit0 = 3
    TP成长 = 0.1
    TP上限 = 7
    cost = -8

class 技能12(被动技能):
    名称 = '天赐野性'
    所在等级 = 35
    等级上限 = 20
    等级精通 = 10
    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.2 + 0.02*self.等级


class 技能13(主动技能):
    名称 = '灵蛇索敌'
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 15
    MP = [170, 1242]
    无色消耗 = 1
    data0 = [0, 10915, 12022, 13130, 14237, 15345, 16452, 17559, 18667, 19774, 20881, 21989, 23097, 24203, 25311, 26419, 27525, 28633, 29740, 30848, 31955, 33062, 34170, 35278, 36384, 37492, 38600, 39706, 40814, 41922, 43029, 44136, 45244, 46351, 47458, 48566, 49673, 50781, 51887, 52995, 54103, 55210, 56317, 57425, 58532, 59639, 60747, 61854, 62962, 64069, 65176, 66284, 67391, 68498, 69606, 70713, 71820, 72928, 74035, 75143, 76250, 77357, 78465, 79572, 80679, 81787, 82895, 84001, 85109, 86217, 87324]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5
    cost = -5

class 技能14(主动技能):
    名称 = '吞噬者'
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10
    MP = [85, 621]
    无色消耗 = 1
    data0 = [0, 563, 620, 677, 735, 792, 848, 905, 963, 1020, 1077, 1134, 1192, 1249, 1306, 1364, 1420, 1477, 1534, 1591, 1649, 1706, 1763, 1821, 1878, 1934, 1991, 2048, 2106, 2163, 2220, 2278, 2335, 2392, 2449, 2506, 2563, 2620, 2677, 2735, 2792, 2849, 2906, 2964, 3021, 3077, 3134, 3192, 3249, 3306, 3364, 3421, 3478, 3535, 3593, 3649, 3706, 3763, 3821, 3878, 3935, 3992, 4050, 4107, 4164, 4220, 4278, 4335, 4392, 4449, 4507]
    hit0 = 1
    data1 = [0, 3568, 3930, 4291, 4654, 5016, 5377, 5740, 6102, 6463, 6825, 7188, 7549, 7911, 8274, 8636, 8997, 9360, 9722, 10083, 10445, 10808, 11169, 11531, 11894, 12255, 12617, 12980, 13341, 13703, 14065, 14428, 14789, 15151, 15514, 15875, 16237, 16600, 16961, 17323, 17686, 18047, 18409, 18771, 19133, 19495, 19857, 20220, 20581, 20943, 21306, 21667, 22029, 22391, 22753, 23115, 23477, 23838, 24201, 24563, 24926, 25287, 25649, 26011, 26373, 26735, 27097, 27458, 27821, 28183, 28544]
    hit1 = 3
    出血data0 = [0, 8, 8, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 19, 19, 20, 21, 22, 22, 23, 24, 25, 26, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 35, 36, 36, 37, 38, 39, 39, 40, 41, 42, 43, 43, 44, 45, 46, 46, 47, 48, 49, 50, 50, 51, 52, 53, 53, 54, 55, 56, 57, 57, 58, 59, 60, 60, 61]
    出血hit0 = 1
    TP成长 = 0.1
    TP上限 = 5
    cost = 10

    是否有护石 = 1

    def 装备护石(self, char):
        self.cost = -10
        self.倍率 *= 1 + 0.12 + 0.22

class 技能15(主动技能):
    名称 = '妖风'
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 18
    MP = [237, 1732]
    无色消耗 = 1
    data0 = [0, 1880, 2070, 2261, 2451, 2642, 2833, 3023, 3214, 3405, 3596, 3787, 3978, 4168, 4359, 4550, 4740, 4931, 5122, 5312, 5503, 5693, 5884, 6075, 6266, 6457, 6648, 6838, 7029, 7220, 7410, 7601, 7792, 7982, 8173, 8363, 8554, 8745, 8936, 9127, 9318, 9508, 9699, 9890, 10080, 10271, 10462, 10652, 10843, 11034, 11224, 11415, 11606, 11797, 11988, 12178, 12369, 12560, 12750, 12941, 13132, 13322, 13513, 13704, 13894, 14085, 14276, 14467, 14658, 14848, 15039]
    hit0 = 1
    data1 = [0, 376, 414, 452, 490, 528, 566, 605, 643, 681, 719, 757, 795, 833, 871, 910, 948, 986, 1024, 1062, 1100, 1138, 1176, 1215, 1253, 1291, 1329, 1367, 1405, 1443, 1481, 1520, 1558, 1596, 1634, 1672, 1710, 1748, 1787, 1825, 1863, 1901, 1939, 1977, 2015, 2053, 2092, 2130, 2168, 2206, 2244, 2282, 2321, 2359, 2398, 2436, 2474, 2512, 2550, 2588, 2626, 2664, 2703, 2741, 2779, 2817, 2855, 2893, 2931, 2969, 3008]
    hit1 = 30
    data2 = [0, 5640, 6211, 6783, 7355, 7928, 8500, 9072, 9644, 10216, 10789, 11361, 11933, 12505, 13077, 13650, 14222, 14794, 15365, 15938, 16510, 17082, 17654, 18226, 18799, 19371, 19943, 20515, 21087, 21660, 22232, 22804, 23376, 23948, 24520, 25092, 25664, 26236, 26809, 27381, 27953, 28525, 29097, 29670, 30242, 30814, 31386, 31958, 32530, 33102, 33674, 34246, 34819, 35391, 35963, 36535, 37107, 37680, 38252, 38824, 39396, 39968, 40541, 41113, 41684, 42256, 42829, 43401, 43973, 44545, 45117]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 5
    cost = -5

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1 + 0.15 + 0.18

class 技能16(主动技能):
    名称 = '残酷猎杀'
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 45
    MP = [163, 1190]
    无色消耗 = 2
    data0 = [0, 8422, 9275, 10130, 10985, 11839, 12693, 13548, 14402, 15256, 16111, 16965, 17820, 18674, 19528, 20383, 21238, 22091, 22946, 23801, 24654, 25509, 26364, 27218, 28072, 28927, 29781, 30635, 31490, 32344, 33199, 34053, 34907, 35762, 36616, 37470, 38325, 39180, 40033, 40888, 41743, 42596, 43451, 44306, 45161, 46014, 46869, 47724, 48578, 49432, 50287, 51141, 51995, 52850, 53704, 54559, 55413, 56267, 57122, 57976, 58830, 59685, 60540, 61393, 62248, 63103, 63956, 64811, 65666, 66520, 67374]
    hit0 = 3
    data1 = [0, 14738, 16233, 17728, 19224, 20719, 22213, 23708, 25204, 26699, 28194, 29689, 31185, 32680, 34175, 35671, 37166, 38661, 40156, 41652, 43146, 44641, 46136, 47632, 49127, 50622, 52117, 53613, 55108, 56603, 58098, 59594, 61089, 62583, 64078, 65574, 67069, 68564, 70059, 71555, 73050, 74545, 76040, 77536, 79031, 80526, 82022, 83516, 85011, 86506, 88002, 89497, 90992, 92487, 93983, 95478, 96973, 98468, 99964, 101459, 102953, 104448, 105944, 107439, 108934, 110429, 111925, 113420, 114915, 116410, 117906]
    hit1 = 1
    data2 = [0, 2105, 2319, 2532, 2746, 2959, 3172, 3387, 3600, 3814, 4027, 4241, 4455, 4668, 4882, 5095, 5309, 5522, 5737, 5950, 6163, 6377, 6590, 6805, 7018, 7231, 7445, 7658, 7872, 8086, 8300, 8513, 8726, 8940, 9153, 9368, 9581, 9794, 10008, 10221, 10436, 10649, 10863, 11076, 11289, 11503, 11717, 11931, 12144, 12357, 12571, 12785, 12999, 13212, 13426, 13639, 13852, 14067, 14280, 14494, 14707, 14920, 15135, 15348, 15562, 15775, 15989, 16202, 16416, 16630, 16843]
    hit2 = 1
    出血data0 = [0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
    出血hit0 = 3
    TP成长 = 0.1
    TP上限 = 5
    cost = 30

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1 + 0.14 + 0.14
        self.CDR *= 0.9

class 技能17(被动技能):
    名称 = '气息探索者'
    所在等级 = 48
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.025 + 0.02 * self.等级

class 技能18(主动技能):
    名称 = "山中祭祀盛宴"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 145
    MP = [1406, 7707]
    无色消耗 = 5
    data0 = [0, 36786, 45316, 53846, 62376, 70907, 79437, 87967, 96497, 105027, 113558, 122088, 130618, 139148, 147677, 156208, 164738, 173268, 181798, 190328, 198859, 207389, 215919, 224449, 232980, 241510, 250040, 258570, 267100, 275631, 284161, 292691, 301220, 309750, 318281, 326811, 335341, 343871, 352401, 360932, 369462, 377992, 386522, 395053, 403583, 412113, 420643, 429173, 437704, 446234, 454763]
    hit0 = 1
    data1 = [0, 44961, 55386, 65812, 76238, 86664, 97089, 107515, 117941, 128367, 138792, 149219, 159644, 170069, 180495, 190921, 201347, 211772, 222198, 232624, 243050, 253475, 263901, 274327, 284753, 295178, 305605, 316030, 326456, 336881, 347308, 357733, 368159, 378584, 389011, 399436, 409862, 420287, 430714, 441139, 451564, 461991, 472416, 482842, 493267, 503694, 514119, 524545, 534970, 545397, 555822]
    hit1 = 1

    cost = -100

    def 等效百分比(self, **argv):
        if self.等级 >= 6:
            self.power1 = 1.1
        return super().等效百分比(**argv)

class 技能19(主动技能):
    名称 = '妖气盛宴'
    所在等级 = 60
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 25
    MP = [277, 1520]
    无色消耗 = 1
    data0 = [0, 1232, 1358, 1483, 1608, 1734, 1858, 1984, 2108, 2234, 2358, 2484, 2609, 2734, 2859, 2984, 3109, 3235, 3359, 3485, 3609, 3735, 3860, 3985, 4110, 4235, 4361, 4485, 4611, 4736, 4861, 4986, 5111, 5236, 5361, 5486, 5612, 5736, 5862, 5986, 6112, 6237, 6362, 6487, 6612, 6737, 6862, 6987, 7113, 7238, 7363]
    hit0 = 20
    TP成长 = 0.1
    TP上限 = 5
    cost = -20

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1 + 0.15 + 0.18

class 技能20(主动技能):
    名称 = '暴走'
    所在等级 = 70
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 50
    MP = [204, 1120]
    无色消耗 = 2
    data0 = [0, 13154, 14486, 15822, 17156, 18491, 19826, 21161, 22494, 23828, 25164, 26498, 27834, 29168, 30501, 31835, 33170, 34505, 35841, 37173, 38508, 39843, 41177, 42513, 43847, 45180, 46515, 47850, 49185, 50520, 51855, 53187, 54522, 55857, 57192, 58527, 59859, 61195, 62529, 63865, 65199, 66534, 67866, 69201, 70536, 71871, 73206, 74541, 75874, 77208, 78544]
    hit0 = 1
    data1 = [0, 19731, 21729, 23732, 25735, 27737, 29739, 31742, 33740, 35743, 37745, 39747, 41750, 43753, 45751, 47754, 49755, 51758, 53761, 55759, 57762, 59764, 61766, 63769, 65771, 67770, 69773, 71775, 73777, 75780, 77782, 79781, 81783, 83785, 85788, 87791, 89789, 91792, 93794, 95796, 97799, 99801, 101800, 103802, 105805, 107806, 109809, 111812, 113810, 115813, 117815]
    hit1 = 1
    data2 = [0, 32885, 36215, 39554, 42891, 46228, 49565, 52903, 56234, 59571, 62908, 66245, 69584, 72921, 76252, 79589, 82926, 86264, 89601, 92932, 96270, 99606, 102945, 106281, 109619, 112950, 116287, 119625, 122962, 126299, 129637, 132967, 136305, 139643, 142980, 146317, 149648, 152985, 156323, 159660, 162998, 166335, 169666, 173004, 176341, 179678, 183015, 186353, 189684, 193022, 196358]
    hit2 = 1
    出血data0 = [0, 22, 24, 27, 29, 31, 33, 36, 38, 40, 42, 45, 47, 49, 51, 54, 56, 58, 60, 63, 65, 67, 69, 72, 74, 76, 78, 81, 83, 85, 87, 90, 92, 94, 96, 99, 101, 103, 105, 108, 110, 112, 114, 117, 119, 121, 123, 126, 128, 130, 132]
    出血hit0 = 3
    TP成长 = 0.1
    TP上限 = 5
    cost = 40

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.32

class 技能21(被动技能):
    名称 = '阴阳合一'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.22 + 0.02 * self.等级

class 技能22(主动技能):
    名称 = '剥皮抽筋'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 38
    MP = [904, 4957]
    无色消耗 = 3
    data0 = [0, 20502, 22582, 24662, 26742, 28822, 30902, 32982, 35062, 37141, 39222, 41301, 43382, 45461, 47542, 49622, 51701, 53782, 55861, 57942, 60021, 62102, 64181, 66262, 68341, 70421, 72501, 74581, 76661, 78741, 80821, 82901, 84981, 87061, 89141, 91221, 93301, 95381, 97461, 99541, 101621, 103701, 105781, 107860, 109941, 112020, 114101, 116180, 118261, 120340, 122421]
    hit0 = 1
    data1 = [0, 47839, 52692, 57546, 62398, 67252, 72105, 76958, 81811, 86665, 91518, 96371, 101225, 106078, 110931, 115784, 120638, 125490, 130344, 135197, 140051, 144904, 149757, 154611, 159463, 164317, 169170, 174023, 178876, 183730, 188584, 193436, 198290, 203143, 207996, 212849, 217703, 222556, 227409, 232263, 237116, 241969, 246822, 251676, 256528, 261382, 266235, 271088, 275941, 280795, 285649]
    hit1 = 1
    cost = -15

    是否有护石 = 1

    def 装备护石(self, char):
        self.hit0 = 0
        self.power1 = 1 + 0.63 + 0.2

class 技能23(主动技能):
    名称 = '万箭穿心'
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 45
    MP = [803, 4402]
    无色消耗 = 5
    data0 = [0, 96781, 106599, 116417, 126236, 136055, 145873, 155692, 165509, 175328, 185147, 194965, 204784, 214602, 224420, 234238, 244057, 253876, 263694, 273513, 283330, 293149, 302968, 312786, 322605, 332423, 342241, 352059, 361878, 371697, 381515, 391334, 401151, 410970, 420789, 430607, 440426, 450243, 460062, 469880, 479699, 489518, 499336, 509154, 518972, 528791, 538610, 548428, 558247, 568064, 577883]
    hit0 = 1

    cost = 45

    是否有护石 = 1

    def 装备护石(self, char):
        self.CD = 15
        self.cost = 15
        self.CDR *= 0.9
        self.power0 = 1 - 0.61 + 0.062
        # 添加护石之后莫名其妙多出来的出血伤害
        self.出血data0 = [0] + [100]*50
        self.出血hit0 = 1

class 技能24(主动技能):
    名称 = "妖气爆发"
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [2484, 13617]
    无色消耗 = 10
    # 有能量时，每1能量增加0.1%伤害，100能量增加30%
    data0 = [0, 14890, 18342, 21795, 25248, 28701, 32154, 35606, 39059, 42512, 45965, 49417, 52870, 56323, 59776, 63229, 66681, 70134, 73587, 77040, 80492, 83945, 87398, 90851, 94304, 97756, 101209, 104662, 108115, 111568, 115020, 118473, 121926, 125379, 128831, 132284, 135737, 139190, 142643, 146095, 149548, 153001, 156454, 159907, 163359, 166812, 170265, 173718, 177170, 180623, 184076]
    hit0 = 15

    cost = 100

    形态 = ['满','空']

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '满':
            self.power0 = 1.3
            self.cost = 100
        if 形态 == '空':
            self.power0 = 1
            self.cost = 0
        pass

class 技能25(被动技能):
    名称 = '万物之巅'
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.18 + 0.02 * self.等级

class 技能26(主动技能):
    名称 = "神妖之爪"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [1406, 7710]
    无色消耗 = 7
    # 人形态
    data0 = [0, 6650, 7324, 7999, 8673, 9348, 10023, 10697, 11372, 12046, 12721, 13396, 14071, 14745, 15419, 16095, 16769, 17444, 18118, 18793, 19468, 20142, 20817, 21491, 22166, 22841, 23515, 24190, 24864, 25540, 26214, 26888, 27563, 28238, 28913, 29587, 30261, 30936, 31611, 32286, 32960, 33635, 34310, 34984, 35659, 36333, 37008, 37683, 38357, 39032, 39706]
    hit0 = 20
    data1 = [0, 56999, 62782, 68564, 74347, 80130, 85912, 91694, 97477, 103260, 109043, 114825, 120608, 126390, 132173, 137955, 143738, 149521, 155303, 161085, 166868, 172651, 178434, 184216, 189998, 195781, 201564, 207346, 213129, 218912, 224694, 230476, 236259, 242042, 247825, 253607, 259389, 265172, 270955, 276737, 282520, 288302, 294085, 299867, 305650, 311433, 317216, 322997, 328780, 334563, 340346]
    hit1 = 1
    # 妖形态
    data2 = [0, 64257, 70776, 77295, 83814, 90333, 96852, 103371, 109890, 116409, 122928, 129447, 135965, 142484, 149003, 155522, 162041, 168560, 175079, 181598, 188117, 194636, 201155, 207674, 214192, 220711, 227230, 233749, 240268, 246787, 253306, 259825, 266344, 272863, 279382, 285901, 292419, 298938, 305457, 311976, 318495, 325014, 331533, 338052, 344571, 351090, 357609, 364128, 370646, 377165, 383684]
    hit2 = 1
    data3 = [0, 32128, 35388, 38647, 41907, 45166, 48426, 51685, 54945, 58204, 61464, 64723, 67982, 71242, 74501, 77761, 81020, 84280, 87539, 90799, 94058, 97318, 100577, 103837, 107096, 110355, 113615, 116874, 120134, 123393, 126653, 129912, 133172, 136431, 139691, 142950, 146209, 149469, 152728, 155988, 159247, 162507, 165766, 169026, 172285, 175545, 178804, 182064, 185323, 188582, 191842]
    hit3 = 2
    data4 = [0, 85677, 94369, 103060, 111752, 120444, 129136, 137828, 146520, 155212, 163904, 172596, 181287, 189979, 198671, 207363, 216055, 224747, 233439, 242131, 250823, 259514, 268206, 276898, 285590, 294282, 302974, 311666, 320358, 329050, 337741, 346433, 355125, 363817, 372509, 381201, 389893, 398585, 407277, 415968, 424660, 433352, 442044, 450736, 459428, 468120, 476812, 485504, 494195, 502887, 511579]
    hit4 = 1

    cost = 100

    形态 = ['妖满','妖空','人']

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '妖满':
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 1
            self.hit3 = 2
            self.hit4 = 1
            self.power2 = self.power3 = self.power4 = 1.3
            self.cost = 100
        if 形态 == '妖空':
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 1
            self.hit3 = 2
            self.hit4 = 1
            self.power2 = self.power3 = self.power4 = 1
            self.cost = 0
        if 形态 == '人':
            self.hit0 = 20
            self.hit1 = 1
            self.hit2 = 0
            self.hit3 = 0
            self.hit4 = 0
            self.power2 = self.power3 = self.power4 = 1
            self.cost = -100
        pass

class 技能27(主动技能):
    名称 = "极夜"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [3904, 17834]
    无色消耗 = 15
    data0 = [0, 24121, 29715, 35309, 40902, 46496, 52089, 57683, 63277, 68870, 74464, 80057, 85651, 91245, 96838, 102432, 108025, 113619, 119213, 124806, 130400, 135993, 141587, 147181, 152774, 158368, 163961, 169555, 175149, 180742, 186336, 191929, 197523, 203116, 208709, 214303, 219897, 225490, 231084, 236677, 242271]
    hit0 = 3
    data1 = [0, 31014, 38205, 45398, 52589, 59781, 66972, 74165, 81356, 88548, 95739, 102932, 110123, 117315, 124506, 131699, 138890, 146082, 153273, 160465, 167657, 174848, 182040, 189232, 196424, 203615, 210807, 217999, 225191, 232382, 239574, 246766, 253958, 261149, 268341, 275533, 282725, 289916, 297108, 304300, 311492]
    hit1 = 1
    data2 = [0, 413525, 509415, 605304, 701194, 797083, 892973, 988864, 1084753, 1180643, 1276533, 1372422, 1468312, 1564203, 1660092, 1755982, 1851872, 1947761, 2043651, 2139542, 2235431, 2331321, 2427211, 2523100, 2618990, 2714880, 2810770, 2906660, 3002550, 3098439, 3194329, 3290220, 3386109, 3481999, 3577889, 3673778, 3769668, 3865558, 3961448, 4057338, 4153228]
    hit2 = 1

class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'vigilante'
        self.名称 = '聆风·妖护使'
        self.角色 = '弓箭手'

        self.职业 = '妖护使'
        self.武器选项 = ['妖影弓']
        self.输出类型选项 = ['魔法百分比']
        self.防具精通属性 = ['智力']
        self.类型 = '魔法百分比'
        self.武器类型 = '妖影弓'
        self.防具类型 = '布甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 2.00

        super().__init__(equVersion)
